package org.smartcti.freeswitch.inbound;

import org.smartcti.freeswitch.inbound.response.CommandResponse;






public interface InboundConnection{
	String getHostname();
	int getPort();
	String getPassword();
	void login() throws InboundException;
	void logoff() throws InboundException;
	InboundConnectionState getState();
	CommandResponse sendCommand(String command,Object... objects) throws InboundException;
	void addEventListener(InboundEventListener eventListener);
	void removeEventListener(InboundEventListener eventListener);
	void setSocketTimeout(int socketTimeout);
	void setSocketReadTimeout(int socketReadTimeout);
	void setSsl(boolean ssl);
}
